<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Magic 口碑营销平台</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="../css/magic.css">
<link rel="stylesheet" href="../css/work-magic.css">
<link rel="stylesheet" href="../css/jquery.ui.all.css">
</head>
<body>
<div id="wrap">
  <form id="validate">
    <h2 class="title">模板管理</h2>
    <table>
      <tbody>
        <tr>
          <th><label for="template-id">模板ID：</label></th>
          <td><input type="text" name="" class="text s-size" id="template-id"></td>
          <th><label for="template-title">模板名称：</label></th>
          <td><input type="text" name="" class="text s-size" id="template-title"></td>
          <th><label for="template-category">分类：</label></th>
          <td><input type="text" name="" class="text s-size" id="template-category"></td>
        </tr>
        <tr>
          <th><label for="founder">创建人：</label></th>
          <td><input type="text" name="" class="text s-size" id="founder"></td>
          <th><label for="start-time">开始时间：</label></th>
          <td><input type="text" name="" class="text time" id="start-time" readonly="readonly"></td>
          <th><label for="end-time">结束时间：</label></th>
          <td><input type="text" name="" class="text time" id="end-time" readonly="readonly"></td>
        </tr>
        <tr>
          <th></th>
          <td><input type="submit" value="查询" class="btn">
            <input type="reset" class="btn" value="清空">
            <button id="add-template">新增模板</button></td>
        </tr>
      </tbody>
    </table>
  </form>
  <div class="pagination">
  	<a href="#">上一页</a> <a href="#">1</a> <a href="#">2</a> <a href="#">3</a> <a href="#">4</a> <a href="#">5</a> <a href="#">6</a> <a href="#">7</a> <a href="#">8</a> <span>...</span> <a href="#">下一页</a>
  </div>
  <table width="99%" class="admin-table">
  	<thead>
    	<tr>
      	<th>模板ID</th>
        <th>模板名称</th>
        <th>使用数</th>
        <th>通道类型</th>
        <th>模板分类</th>
        <th>是否启用</th>
        <th>创建人</th>
        <th>创建时间</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
    	<tr>
      	<td>112211</td>
        <td>优惠券定期发送</td>
        <td>3</td>
        <td>邮件</td>
        <td>产品运营</td>
        <td>是</td>
        <td>caigen</td>
        <td>2010-04-11 11:11:11</td>
        <td><a href="#" data="112211" class="select-template">选择</a></td>
      </tr>
    	<tr class="even">
      	<td>asdasdasd</td>
        <td>优惠券定期发送</td>
        <td>3</td>
        <td>邮件</td>
        <td>产品运营</td>
        <td>是</td>
        <td>caigen</td>
        <td>2010-04-11 11:11:11</td>
        <td><a href="#" data="asdasdasd" class="select-template">选择</a></td>
      </tr>
    	<tr>
      	<td>44323232</td>
        <td>优惠券定期发送</td>
        <td>3</td>
        <td>邮件</td>
        <td>产品运营</td>
        <td>是</td>
        <td>caigen</td>
        <td>2010-04-11 11:11:11</td>
        <td><a href="#" data="44323232" class="select-template">选择</a></td>
      </tr>
    </tbody>
  </table>
</div>
<script type="text/javascript" src="../js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../js/jquery.ui.core.js"></script>
<script type="text/javascript" src="../js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../js/jquery.ui.datepicker.js"></script>
<script src="../js/magic.js"></script>
<script>
magic.init("template_admin");
</script>
</body>
</html>